#include("/WEB-INF/pages/instructor/layout.html")
#@layout()
#define content()
<form class="layui-form" action="/instructor/save" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">教师编号：</label>
        <div class="layui-form-mid layui-word-aux">#(teacher.teacher_id)</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">姓名：</label>
        <div class="layui-input-inline">
            <input type="text" name="teacher_name" required lay-verify="required" value="#(teacher.teacher_name)"
                   autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">生日：</label>
        <div class="layui-input-inline">
            <input type="text" name="teacher_board_date" required lay-verify="required"
                   value="#(teacher.teacher_board_date)" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">身份证号：</label>
        <div class="layui-input-inline">
            <input type="text" name="teacher_id_card" required lay-verify="required" value="#(teacher.teacher_id_card)"
                   autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">电话号码：</label>
        <div class="layui-input-inline">
            <input type="text" name="teacher_phone" required lay-verify="required" value="#(teacher.teacher_phone)"
                   autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">省份 : </label>
        <div class="layui-input-inline">
            <select name="teacher_address" lay-verify="required">
                #for(city : getCity())
                <option value="#(city)" #(teacher.teacher_address==city?'selected':'')>#(city)</option>
                #end
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">教师性别：</label>
        <div class="layui-form-mid layui-word-aux">#(teacher.teacher_sex)</div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
#end